@import '@/app/styles/variables';

.block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.selectContainer {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-style: normal;
  position: relative;
  font-weight: 400;
  line-height: 22px;
}

.chooseItem {
  display: flex;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 12px;
  color: #000;

  &:hover:not(.isActive) {
    background: var(--Simple-Gray-Morning, #f3f3f3);
  }
}

.loaderWrapper {
  margin-top: 24px;
  align-self: center;
}

.isActive {
  background: var(--Pastel-Blue, #ebf1fc);
}

.choose {
  display: flex;
  padding: 8px;
  position: absolute;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  top: 100%;
  z-index: 20;
  margin-top: 4px;
  width: min-content;
  text-wrap: nowrap;
  border-radius: 16px;
  background: var(--Simple-Morning, #fff);
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.08);
}

.active {
  color: var(--Simple-Blue-Day, #337cec);

  svg {
    transform: rotate(180deg);
  }
}

.pdf_container {
  align-self: center;
}

.pdfs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title {
  color: var(--Simple-Night, #000);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 42px;
  font-style: normal;
  font-weight: 500;
  line-height: 46px;
  /* 109.524% */
}

@include media(sm) {
  .pdf {
    width: 100%;
    height: 90vh;
    border: none;
  }

  .title {
    max-height: 32px;
  }

  .modal {
    padding-bottom: 0px;
  }

  .btn {
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 137.5% */
    &:active {
      background-color: #1b56b1;
    }
  }

  .pdfs {
    width: 100%;
    gap: 8px;
  }

  .pfg svg {
    transform: scale(0.7);
  }

  .title {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    svg {
      transform: translateY(10%);
    }
  }
}
